package models

import (
	"github.com/goravel/framework/database/orm"
	"github.com/goravel/framework/support/carbon"
)

type Playerstatistic struct {
	orm.Model
	//当天日期
	DateAt          carbon.Date `gorm:"column:date_at;type:varchar(255);not null;comment:'当天日期'"`
	OnlineTotal     int         `gorm:"column:online_total;type:int(11);not null;default:0;comment:'今日上线总玩家数'"`
	OnlineNewTotal  int         `gorm:"column:online_new_total;type:int(11);not null;default:0;comment:'今日新上线新玩家数'"`
	PlayerCount     int         `gorm:"column:player_count;type:int(11);not null;default:0;comment:'玩家总数'"`
	ConfigurationID uint        `gorm:"column:configuration_id;type:int(11);not null;comment:'配置id'"`
	Configuration   Configuration
}
